package com.woniuxy.school.dietary.store.service;

import com.woniuxy.school.dietary.store.entity.StoreInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.school.dietary.store.model.dto.FindStoreByIdDto;
import com.woniuxy.school.dietary.store.model.dto.FindStoreDto;
import com.woniuxy.school.dietary.store.model.from.AddStoreInfoForm;
import com.woniuxy.school.dietary.store.model.from.FindStoreFrom;
import com.woniuxy.school.dietary.store.model.from.StoreRegisterForm;
import com.woniuxy.school.dietary.store.model.from.StoreTimeForm;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2025年05月14日
 */
public interface StoreInfoService extends IService<StoreInfo> {
    FindStoreDto findStore(Long storeId );

    FindStoreByIdDto findStoreById(Long id);

    void addStoreTime(StoreTimeForm storeTimeForm, String userId);

    void updateStoreTime(StoreTimeForm storeTimeForm, String userId);


    List<StoreInfo> findStoreByProductsId(Long productsId);

    void addStoreInfo(AddStoreInfoForm addStoreInfoForm, String userId);

}
